application: mark menu/menubar getters as (transfer none)
authorCosimo Cecchi <cosimoc@gnome.org>
Wed, 21 Dec 2011 11:19:31 +0000 (12:19 +0100)
committerCosimo Cecchi <cosimoc@gnome.org>
Wed, 21 Dec 2011 11:19:31 +0000 (12:19 +0100)
Since they do not return a reference to the underlying GMenuModel.

gtk/gtkapplication.c

index 30f3ff492dbf4ff1cfb04d77798d090dc9ffc18a..5f428e241ea381045683ccdda04001d765c4247b 100644 (file)
@@ -785,7 +785,7 @@ gtk_application_set_app_menu (GtkApplication *application,
  * Returns the menu model that has been set with
  * g_application_set_app_menu().
  *
- * Returns: the application menu of @application
+ * Returns: (transfer none): the application menu of @application
  *
  * Since: 3.4
  */
@@ -833,7 +833,7 @@ gtk_application_set_menubar (GtkApplication *application,
  * Returns the menu model that has been set with
  * g_application_set_menubar().
  *
- * Returns: the menubar for windows of @application
+ * Returns: (transfer none): the menubar for windows of @application
  *
  * Since: 3.4
  */